package com.tt.entity.vo;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.time.LocalDateTime;

import lombok.*;
import lombok.experimental.Accessors;

/**
 * <p>
 * 一条VO跑完service和dao，不拆了
 * </p>
 *
 * @author sugarttt
 * @version 1.0
 * @since 2023-03-04 10:04:16
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@Accessors(chain = true)
@TableName("movie_rank_box_office")
public class MovieRankBoxOfficeVO implements Serializable {

    private static final long serialVersionUID = 1L;
    /**
     * 电影id
     */
    @TableField("movie_id")
    private Long movieId;

    /**
     * 电影名
     */
    @TableField("`name`")
    private String name;

    /**
     * 上映日期
     */
    @TableField("release_date")
    private String releaseDate;

    /**
     * 总榜票房,无则不填
     */
    @TableField("total_box_office")
    private String totalBoxOffice;

    /**
     * 日榜票房,无则不填
     */
    @TableField("day_box_office")
    private String dayBoxOffice;

    /**
     * 更新时间
     */
    @TableField(value = "gmt_modified", fill = FieldFill.INSERT_UPDATE)
    private LocalDateTime gmtModified;

    /**
     * 删除
     */
    @TableField("gmt_delete")
    @TableLogic
    private Integer gmtDelete;
}
